QT -= gui

TEMPLATE = lib
DEFINES += ADDOPERATOR_LIBRARY

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    addoperator.cpp

HEADERS += \
    addoperator.h

INCLUDEPATH += \
    $$PWD/..

CONFIG(debug, debug|release) {
    OBJECTS_DIR     =  $$PWD/tmp/debug
    MOC_DIR         =  $$PWD/tmp/debug
    RCC_DIR         =  $$PWD/tmp/debug
    UI_DIR          =  $$PWD/tmp/debug
    INCLUDEPATH     += $$PWD/tmp/debug
} else {
    OBJECTS_DIR     =  $$PWD/tmp/release
    MOC_DIR         =  $$PWD/tmp/release
    RCC_DIR         =  $$PWD/tmp/release
    UI_DIR          =  $$PWD/tmp/release
    INCLUDEPATH     += $$PWD/tmp/release
}

CONFIG(debug, debug|release) {
    DESTDIR     =  $$PWD/../plugins/debug
} else {
    DESTDIR     =  $$PWD/../plugins/release
}
# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
